<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>AI店长报告生成助手</title>
  <script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.7/dayjs.min.js"></script>
  <script>
    // 全局化dayjs并处理require调用
    window.dayjs = dayjs;
    window.require = function(path) {
      console.log('Require called for:', path);
      if (path.includes('dayjs')) return window.dayjs;
      return {};
    };
  </script>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>